<%= form_for @answer, as: "comment", url:zerocms_admin_post_comment_save_answer_path(@post.id, @comment.id), html: { class: "validate zerocms_ajax_request" } do |f| %>
    <div class="panel-body">
        <%= render partial: 'layouts/zerocms/admin/form_error', locals: {data: @comment} %>
        <div class="form-group">
            <%= f.label :content %><br>
            <%= f.text_area :content, :class => "form-control required", :rows => 4 %>
        </div>
    </div>
    <div class="panel-footer text-right">
        <button class="btn btn-primary" type="submit"><%= t('zerocms.admin.button.submit') %></button>
    </div>
<% end %>